/**
 * meiguang8.com
 * Copyright (C) 2016-2019 All Rights Reserved.
 */
package com.yuanchuang.yp.mall.web.admin.user.model;

import lombok.Data;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * class_name: MenuModel
 * package: com.yuanchuang.yp.mall.web.admin.model
 * describe: TODO
 * @author: yuanyuan.zhu
 * creat_date: 2019/7/11
 * creat_time: 15:27
 **/
@Data
public class MenuModel implements Serializable {


    private static final long serialVersionUID = 2016649818719417399L;
    /**
     * 菜单id
     */
    private Long id;

    /**
     * 菜单名称
     */
    private String name;

    /**
     * 地址
     */
    private String path;

    /**
     * 前端页面地址
     */
    private String component;

    /**
     * 备注
     */
    private String remark;

    /**
     * 排序
     */
    private Integer sortno;

    /**
     * 父级菜单Id
     */
    private Integer parentId;



    @Override
    public String toString() {
        return ReflectionToStringBuilder.reflectionToString(this,
                ToStringStyle.SHORT_PREFIX_STYLE);
    }
}
